WooCommerce\Facebook\Products D

Total Complexity 174
Dependencies 12
Dependents 13
Total lines 1,153
Lines of code 549
Logical lines of code 316
Comment lines 427
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
get_google_product_category_id_from_highest_category()
B
41 18 56
get_enhanced_catalog_attribute()
A
48 10 31
is_product_visible()
A
51 9 25
get_ordered_categories_for_product()
A
50 8 29
get_product_color_attribute()
A
54 8 21
disable_sync_for_products_with_terms()
A
50 7 31
set_sync_for_products()
S
54 7 22
get_meta_value_from_categories_for_product()
S
54 7 22
get_product_pattern_attribute()
S
54 7 21
get_product_size_attribute()
S
54 7 21
get_product_price()
S
56 7 16
get_product_by_fb_product_id()
S
53 5 26
set_product_visibility()
S
55 5 19
get_google_product_category_id()
S
58 5 15
get_product_size()
S
60 5 12
get_product_pattern()
S
60 5 12
get_product_color()
S
60 5 12
update_product_size_attribute()
S
62 5 10
update_product_pattern_attribute()
S
62 5 10
update_product_color_attribute()
S
62 5 10
get_product_gender()
S
60 4 12
is_product_ready_for_commerce()
S
71 4 6
get_product_by_fb_retailer_id()
S
63 3 9
product_has_attribute()
S
64 3 10
get_available_product_attributes()
S
67 3 7
get_enhanced_catalog_attributes_from_request()
S
55 1 22
get_product_sync_meta_key()
S
70 2 7
update_product_enhanced_catalog_attribute()
S
68 2 7
product_should_be_synced()
S
67 2 8
published_product_should_be_synced()
S
67 2 8
product_should_be_deleted()
S
79 1 3
disable_sync_for_products()
S
79 1 3
is_sync_enabled_for_product()
S
79 1 3
is_sync_excluded_for_product_terms()
S
79 1 3
update_google_product_category_id()
S
76 1 4
get_distinct_product_attributes()
S
67 1 9
enable_sync_for_products()
S
79 1 3
update_product_gender()
S
76 1 4